package com.youi.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * 营销广告
 *
 * @author winty
 */
public class MarketAdvertisement implements Serializable {

    private Long id;
    /**
     * 广告编号
     */
    private String code;
    /**
     * 广告名称
     */
    private String name;
    /**
     * 广告位置; 0-未配置，1-首页banner，2-商品插播
     */
    private Integer position;
    /**
     * 状态 0-未启用 1-已启用 2-已禁用 3-已结束
     */
    private Integer status;
    /**
     * 启用时间
     */
    private Date gmtEnabled;
    /**
     * 禁用时间
     */
    private Date gmtDisabled;
    /**
     * 开始时间
     */
    private Date gmtBegin;
    /**
     * 结束时间
     */
    private Date gmtEnd;
    /**
     * 图片url
     */
    private String imgUrl;
    /**
     * 跳转专题ID
     */
    private Long toThemeId;
    /**
     * 链接地址
     */
    private String url;
    /**
     * 创建者
     */
    private Long creator;
    /**
     * 删除状态（0否 1是）
     */
    private Integer delStatus;
    /**
     * 创建时间
     */
    private Date gmtCreated;
    /**
     * 修改时间
     */
    private Date gmtModify;


    public MarketAdvertisement() {

    }

    public MarketAdvertisement(Long id, Date gmtCreated, Integer delStatus, Date gmtModify) {
        this.id = id;
        this.gmtCreated = gmtCreated;
        this.delStatus = delStatus;
        this.gmtModify = gmtModify;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtEnabled() {
        return gmtEnabled;
    }

    public void setGmtEnabled(Date gmtEnabled) {
        this.gmtEnabled = gmtEnabled;
    }

    public Date getGmtDisabled() {
        return gmtDisabled;
    }

    public void setGmtDisabled(Date gmtDisabled) {
        this.gmtDisabled = gmtDisabled;
    }

    public Date getGmtBegin() {
        return gmtBegin;
    }

    public void setGmtBegin(Date gmtBegin) {
        this.gmtBegin = gmtBegin;
    }

    public Date getGmtEnd() {
        return gmtEnd;
    }

    public void setGmtEnd(Date gmtEnd) {
        this.gmtEnd = gmtEnd;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getToThemeId() {
        return toThemeId;
    }

    public void setToThemeId(Long toThemeId) {
        this.toThemeId = toThemeId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }
}
